const sleepDecorator:MethodDecorator = (target:Object, propertyKey:string | symbol,descriptor:PropertyDescriptor) => {
    const method = descriptor.value;
    descriptor.value = () => {
        setTimeout(() => {
            method();
        },2000)
    }
}

class User{
    @sleepDecorator
    public response(){
        console.log("后盾人")
    }
}

new User().response();